package com.pucong.gitee.database.backup.common.entity.sys;

import com.pucong.gitee.database.backup.common.selfenum.FileStatusEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
* @author pucong
* @company gitee.com/pucong
* @create 2022-02-13
*/
@Data
@ApiModel("附件查询vo ")
public class SysFileSelectVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    private String uuid;

    @ApiModelProperty("业务表id")
    private String businessId;

    @ApiModelProperty("路径")
    private String path;

    @ApiModelProperty("文件名")
    private String fileName;

    @ApiModelProperty("文件大小 bytes")
    private String fileSize;

    @ApiModelProperty("文件后缀")
    private String fileType;

    @ApiModelProperty("文件状态")
    private FileStatusEnum fileStatus;

    @ApiModelProperty("创建人id")
    private String createBy;

    @ApiModelProperty("创建时间")
    private Date createDate;

    @ApiModelProperty("文件原名")
    private String fileNameOld;

    @ApiModelProperty("是否上传完成")
    private boolean isUploadSucceed;
}
